/**
 * Package	: com.coship.adstorm.service.impl
 * File		: ArrangeNotifyServiceImpl.java
 * Company 	: Shenzhen Coship Electronics CO., LTD.
 * Version  : v1.0
 * Description 	: <Detail Description for package>
 *
 * Copyright (c) 2003-2009 Shenzhen Coship Electronics CO., LTD.
 * Rainbow Bldg.,North,Hi-Tech Industrial Park,Nanshan District,Shenzhen,China,P.C.518057.
 * All rights reserved.
 * The contents of this file are confidential and proprietary to COSHIP.
 * Copying is explicitly prohibited without the express permission of COSHIP.
 *
 * Create Date	: Apr 28, 2010
 * Create By    : 904147
 * History :$
 */
package com.coship.vasms.adstorm.service.impl;

import java.util.List;

import com.coship.vasms.adstorm.dao.ArrangeNotifyDao;
import com.coship.vasms.adstorm.model.Arrangenotify;
import com.coship.vasms.adstorm.service.ArrangeNotifyService;
import com.coship.vasms.adstorm.webservice.advertise.vo.ArrangDisplay;

/** 
 * 
 * File Name    : ArrangeNotifyServiceImpl.java
 * @Description 	: <Detail Description for Class >
 * @author 904147
 */
public class ArrangeNotifyServiceImpl implements ArrangeNotifyService {
	private ArrangeNotifyDao arrangeNotifyDao;

	@Override
	public void save(Arrangenotify notify) {
		arrangeNotifyDao.save(notify);
	}

	@Override
	public void update(Arrangenotify notify) {
		arrangeNotifyDao.update(notify);
	}

	@Override
	public List<ArrangDisplay> queryDisplayReq(String date, Integer pageStart, Integer pageSize) {
		return arrangeNotifyDao.queryDisplayReq(date, pageStart, pageSize);
	}

	@Override
	public List<ArrangDisplay> queryPlayNotifyFail(String date, Integer number, Integer pageStart, Integer pageSize) {
		return arrangeNotifyDao.queryPlayNotifyFail(date, number, pageStart, pageSize);
	}

	@Override
	public Arrangenotify queryByid(Integer id) {
		return arrangeNotifyDao.queryByid(id);
	}

	@Override
	public List<ArrangDisplay> queryDisplayNotifyFail(String date,
			Integer number , Integer pageStart, Integer pageSize) {
		// TODO Auto-generated method stub
		return arrangeNotifyDao.queryDisplayNotifyFail(date, number, pageStart, pageSize);
	}

	@Override
	public List<ArrangDisplay> queryPlayReq(String date, Integer pageStart, Integer pageSize) {
		return arrangeNotifyDao.queryPlayReq(date, pageStart, pageSize);
	}
	
	/**
	 * @return the arrangeNotifyDao
	 */
	public ArrangeNotifyDao getArrangeNotifyDao() {
		return arrangeNotifyDao;
	}

	/**
	 * @param arrangeNotifyDao the arrangeNotifyDao to set
	 */
	public void setArrangeNotifyDao(ArrangeNotifyDao arrangeNotifyDao) {
		this.arrangeNotifyDao = arrangeNotifyDao;
	}

	@Override
	public Integer countDisplay(String date) {
		return arrangeNotifyDao.countDisplay(date);
	}

	@Override
	public Integer countPlay(String date) {
		return arrangeNotifyDao.countPlay(date);
	}
}
